package com.regex.web.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
/**
 * 
 * 〈一句话功能简述〉<br> 
 * baseEntity
 *
 * @author ocean.regex
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class BaseEntity extends Model<BaseEntity> implements Serializable  {
    
    /**
     */
    private static final long serialVersionUID = 3543713252487811241L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    protected String id;
    
    @TableField("create_time")
    protected Date createTime;
    
    @TableField("update_time")
    protected Date updateTime;
    
    @TableField("is_del")
    @TableLogic
    protected String isDel;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
